.header {
    width: 100%;
    height: 400rpx;

    .search-Box {
        width: 100%;
        background: #A3DCED;
        height: 90rpx;
        display: flex;
        justify-content: center;
        align-items: center;

        .search {
            width: 90%;
            height: 60%;
            background-color: #F2F2F2;
            border-radius: 30rpx;
            display: flex;
            padding: 5rpx;
            padding-left: 20rpx;
            align-items: center;

            image {
                width: 40rpx;
                height: 40rpx;
                margin-right: 5rpx;
            }

            input {
                font-size: 27rpx;
            }
        }
    }

    .swiper {
        width: 100%;
        height: 325rpx;
        overflow: hidden;

        .img {
            width: 100%;
            height: 100%;

            image {
                width: 100%;
                height: 100%;
            }
        }
    }
}

.tools-box {
    margin-top: 30rpx;
    height: 350rpx;
    width: 100%;
    background-color: #FFFFFF;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: repeat(2, 50%);

    .tool {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        image {
            width: 80rpx;
            height: 80rpx;
        }

        text {
            margin-top: 10rpx;
            font-weight: 300;
            font-size: 25rpx;
        }
    }

    .out {
        display: none;
        position: absolute;
        right: 0;
        animation: hideIndex 0.5s linear;

        .item {
            display: flex;
            width: 120rpx;
            height: 120rpx;
            cursor: pointer;
            border: none;
            outline: none;
            position: absolute;
            border-radius: 50%;
            background-color: #FFFFFF;
            z-index: 10;
            text-align: center;
            font-size: 30rpx;
            overflow: hidden;
            border: solid 1px #ccc;
            align-items: center;
            justify-content: center;

            image {
                width: 100%;
                height: 100%;
            }
        }

        .item:hover {
            animation: harlem 0.5s linear forwards;
        }

        .item1 {
            top: -200rpx;
            right: 30rpx;

            image {
                width: 120%;
                height: 120%;
            }
        }

        .item2 {
            top: -100rpx;
            right: 140rpx;
        }

        .item3 {
            top: 30rpx;
            right: 180rpx;

            image {

                width: 80%;
                height: 80%;
            }
        }

        .item4 {
            top: 160rpx;
            right: 140rpx;

            image {
                width: 80%;
                height: 80%;
            }
        }

        .item5 {
            top: 250rpx;
            right: 30rpx;

            image {
                width: 80%;
                height: 80%;
            }
        }

        .cancel {
            top: 30rpx;
            right: 30rpx;
            font-size: 50rpx;
        }

    }

    .anquanshow {
        display: block;
    }
}

@keyframes harlem {
    0% {
        transform: translate(0);
    }

    25% {
        transform: translate(5px, 5px);
    }

    50% {
        transform: translate(-5px, -5px);
    }

    75% {
        transform: translate(2px, 2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes hideIndex {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes cancelIndex {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

.play-box {
    margin-top: 20rpx;
    background-color: #FFFFFF;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 50%);

    .playitem {
        padding: 10rpx;
        font-weight: 510;
        font-size: 27rpx;

        image {
            width: 100%;
            height: 200rpx;
            border-radius: 10rpx;
            overflow: hidden;
        }

        .title,
        .content {
            margin-left: 20rpx;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}